using System;
using System.Collections.Generic;
namespace MicroMsg.Storage
{
	public class EmojiArtStorage : StorageTable<EmojiArt, string>
	{
		public EmojiArtStorage() : base((EmojiArt emo) => emo.strMD5)
		{
		}
		public List<EmojiArt> getListByPackID(int nPackID)
		{
			return base.getList((EmojiArt e) => e.nPackID == nPackID);
		}
		public bool updateList(List<EmojiArt> emojiList)
		{
			return emojiList != null && emojiList.get_Count() > 0 && base.updateList<string>(emojiList, (EmojiArt emo) => emo.strMD5);
		}
		public bool delPack(int nPackID)
		{
			return base.method_6((EmojiArt emo) => emo.nPackID == nPackID);
		}
		public void test()
		{
			StorageBasic.onLogin("test");
			EmojiArt emojiArt = base.method_1("111");
			emojiArt.strMD5 = "555";
		}
	}
}
